From 5cea713ab96ffac3529426a5c1b683af9f8fbe2a Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 26 Feb 2025 10:33:06 +0800 Subject: [PATCH] gui/macOS: Add tooltip explaining the "request sync" action in the File Provider settings Signed-off-by: Claudio Cambra --- src/gui/macOS/ui/FileProviderSyncStatus.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/gui/macOS/ui/FileProviderSyncStatus.qml b/src/gui/macOS/ui/FileProviderSyncStatus.qml index a02fe4401..60b138512 100644 --- a/src/gui/macOS/ui/FileProviderSyncStatus.qml +++ b/src/gui/macOS/ui/FileProviderSyncStatus.qml @@ -67,8 +67,15 @@ GridLayout { } Button { + id: requestSyncButton text: qsTr("Request sync") - onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost) visible: !root.syncStatus.syncing + hoverEnabled: true + onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost) + + ToolTip { + visible: requestSyncButton.hovered + text: qsTr("Request a sync of changes for the VFS environment. macOS may ignore or delay this request.") + } } } \ No newline at end of file -- 2.30.2